package core;

import java.awt.image.BufferedImage;
import java.io.File;

import javax.imageio.ImageIO;


public class Boom {
	public static BufferedImage[] image;
	static {
		image = new BufferedImage[4];
		for(int i = 1;i<=image.length;i++) {
			image[i-1] = readImage("src/images/bom"+i+".png");		
		}
	}
	
	public static BufferedImage readImage(String filename) {
		try {
			BufferedImage image = ImageIO.read(new File(filename));
			return image;
		} catch (Exception e) {
			e.printStackTrace();
			throw new RuntimeException();
		}
	}
}
